<template>
	<div class="service">
		<div class="online-time">在线时间：周一到周六9:00-18:00</div>
		<div class="service-item">
			<i class="iconfont icon-tousudianhua"></i>
			<div class="service-text">
				<p class="type">投诉电话</p>
				<p class="value">400-883-2025</p>
				<a href="tel:4008832025" class="copy"><i class="iconfont icon-boda"></i>拨打</a>
			</div>
		</div>
		<div class="service-item">
			<svg-icon class="icon" iconName="wx"></svg-icon>
			<div class="service-text">
				<p class="type">官方客服微信号</p>
				<p class="value">wkcuican</p>
				<a class="copy" v-copy="{ value: 'wkcuican', toast: '复制成功 请前往微信添加客服' }">复制添加微信</a>
			</div>
		</div>
		<div class="service-item">
			<i class="iconfont icon-E-mail"></i>
			<div class="service-text">
				<p class="type">E-mail</p>
				<p class="value">zhuanfenxiang@qq.com</p>
				<a class="copy" v-copy="'zhuanfenxiang@qq.com'">复制邮箱</a>
			</div>
		</div>
		<div class="service-list">
			<div class="item" v-copy="'1598604491'">
			<!--<div class="item" v-copy="{ value: '1598604491', toast: '复制成功 请前往手机QQ添加咨询客服' }">-->
				<svg-icon class="icon" iconName="qq"></svg-icon>
				<p class="value">1598604491</p>
				<p>QQ咨询</p>
			</div>
			<a href="tel:4008832025">
				<div class="item">
					<!--<div class="item" v-copy="'4008832025'">-->
					<!--<div class="item" v-copy="{ value: '4008832025', toast: '复制成功 请前往通信录粘贴拨号' }">-->
					<i class="iconfont icon-kefudianhua"></i>
					<p class="value">400-883-2025</p>
					<p>客服电话</p>
				</div>
			</a>
			<!--<div class="item" v-copy="'zhuanfenxiang@qq.com'">-->
			<!--&lt;!&ndash;<div class="item" v-copy="{ value: 'zhuanfenxiang@qq.com', toast: '复制成功 请前往邮箱粘贴' }">&ndash;&gt;-->
				<!--<i class="iconfont icon-E-mail"></i>-->
				<!--<p class="value">zhuanfenxiang@qq.com</p>-->
				<!--<p>E-mail</p>-->
			<!--</div>-->
		</div>
	</div>
</template>

<script>

export default {
	data() {
		return {
		};
	},
	components: {

	}
};
</script>
<style lang="scss" scoped>
.service {
	.online-time {
		background: #FFFAED;
		width: 100%;
		height: 64px;
		line-height: 64px;
		text-align: center;
		color: #AD8888;
		font-size: 28px;
	}
	.service-item {
		width: 716px;
		height: 206px;
		background: rgba(255, 255, 255, 1);
		border-radius: 16px;
		margin: 20px auto;
		display: flex;
		align-items: center;
		justify-content: space-around;
		.icon {
			/* prettier-ignore */
			font-size: 68PX;
			margin: 0 40px;
		}
		.icon-tousudianhua {
			font-size: 54PX;
			margin: 0 40px;
			color: $main-color;
		}
		.icon-E-mail {
			font-size: 54PX;
			margin: 0 40px;
			color: #5997EB;
		}
		.service-text {
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			width: 250px;
			margin-right: 40px;
			.type {
				font-size: 28px;
				color: #221D2C;
			}
			.value {
				font-size: 26px;
				color: #717076;
				margin: 10px 0 20px;
				/*margin-top: 20px;*/
			}
			.copy {
				width: 214px;
				height: 48px;
				background: #FFEEED;
				border-radius: 50px;
				display: block;
				color: $main-color;
				font-size: 26px;
				@include flexBox(center, center);
				.icon-boda {
					margin-right: 10px;
					margin-left: -20px;
				}
			}
		}
	}

	.service-list {
		display: flex;
		justify-content: space-between;
		width: 716px;
		margin: 0 auto;
		.item {
			width:345px;
			height:226px;
			background:rgba(255,255,255,1);
			opacity:1;
			border-radius:16px;
			display: flex;
			justify-content: center;
			align-items: center;
			flex-direction: column;
			color: #221D2C;
			font-size: 26px;
			svg {
				font-size: 70px;
				margin-bottom: 20px;
			}
			i {
				font-size: 70px;
				display: block;
				margin-bottom: 6px;
				margin-top: -20px;
			}
			.icon-kefudianhua {
				color: #F7A201;
			}
			.icon-E-mail {
				color: #5997EB;
			}
			.value {
				color: #717076;
				width: 100%;
				text-align: center;
				padding: 0 10px;
				@include ellipsis(1)
			}
		}
	}
	.copy-wx {
		width: 336px;
		height: 80px;
		margin: 80px auto 0 auto;
	}
}
</style>
